import 'package:sleep/single/filter/base_filter.dart';

class RealFilter extends BaseFliter {
  final double coefficient;

  RealFilter(this.coefficient); // 1 对应的值

  @override
  List<double> fliter(List<double> data) {
    return data.map((e) => e * coefficient).toList();
  }
}
